/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package Server.DTO;

import Server.BUS.StringUlti;

/**
 *
 * @author Trung
 */
public class DeleteNoWhereQuery extends DeleteQuery{
    
    public DeleteNoWhereQuery()
    {
        super();
    }
    
    public DeleteNoWhereQuery(String _queryString)
    {
        this.keyWord = "DELETE_NOWHERE";
        this.queryString = StringUlti.formatString(_queryString);
        
        int begin = this.queryString.indexOf("DELETE FROM") + "DELETE FROM".length();
        this.tableName = this.queryString.substring(begin);
        this.tableName = this.tableName.trim();
    }
}
